package CatchRainwater;
//接雨水
public class Main {
    public static void main(String[] args) {
        int[] height1 = {0, 1, 0, 2, 1, 0, 1, 3, 2, 1, 2, 1};
        int result1 = Solution.trap(height1);
        System.out.println("示例 1 雨水量: " + result1); // 预期输出: 6
    }
}
